/**
 * Created by 任志强 on 2017/5/22.
 */
import React from 'react';

/**
 * 面包屑
 * props示例 ：
 * headerProps = {
    name:  "名称"
  };
 */
export default class Title extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    const titleStyle = {
      padding:'0px 3px',
      font_size: '18px',
      marginBottom: 10,
      borderRadius:1,
      overflow:'hidden',
    };
    return (
      <div  style={titleStyle} >{this.props.name}</div>
    )
  }
}
